package com.yunhuakeji.wddx.control;

import java.io.InputStream;

import com.yunhuakeji.wddx.impl.IMReport;
import com.yunhuakeji.wddx.service.ReportService;
import com.yunhuakeji.wddx.utils.ResultUtil;

public class WDSJController extends ActionTicketSupport
{
	private static final long serialVersionUID = 1L;

	private InputStream inputStream;
	private String callback,rm_xq;
	
	public WDSJController() throws Exception
	{
		super();
	}
	
	public String getStudentBasicInfo(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentBasicInfoWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentSZXX(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentSZXXWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentXJYD(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentXJYDWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentPJPY(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentPJPYWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentQGZX(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentQGZXWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentXSZZ(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentXSZZWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStiudentWJCF(){
			inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentWJCFWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentZS(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentZSWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentRCSW(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentRCSWWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}
	
	public String getStudentDT(){
		inputStream = new ResultUtil().resultString(callback, new ReportService().getStudentDTWithPc(this.getUserid(),this.getTicket()));
		return SUCCESS;
	}

	public InputStream getInputStream()
	{
		return inputStream;
	}

	public void setInputStream(InputStream inputStream)
	{
		this.inputStream = inputStream;
	}

	public String getCallback()
	{
		return callback;
	}

	public void setCallback(String callback)
	{
		this.callback = callback;
	}

	public String getRm_xq()
	{
		return rm_xq;
	}

	public void setRm_xq(String rm_xq)
	{
		this.rm_xq = rm_xq;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	
	

}
